Computing Solutions for Tomorrow
Lesson 3 • Coding Basics

Lesson 3 — Coding Basics

Coding is how we give computers instructions to perform tasks. In this lesson, we’ll explore programming languages, syntax, and logic — and write our first simple program.

Activity 1: Code as Recipes

Writing code is like writing a recipe: instructions must be clear, step-by-step, and leave no room for confusion.

Try this: Write down steps to make a peanut butter & jelly sandwich. Then compare with a detailed version below:

1. Take two slices of bread.
2. Spread peanut butter on one slice.
3. Spread jelly on the other slice.
4. Put the slices together, fillings facing each other.
5. Cut the sandwich in half.

This shows why precision matters in coding!

Activity 2: Mini Coding Demo

🐍 Activity: Intro to Python

Click below to launch your Lesson 3 assignment in a new tab.

Open Activity

Try It: Which of these would print your name?



Reflection Prompts

Wrap-Up & Transition

We learned that coding is giving computers precise, step-by-step instructions. Anyone can learn it with practice!

Next Lesson: We’ll dive into algorithms — the step-by-step thinking behind coding.